from applications.extensions import ma
from marshmallow import fields


class ShareSchema(ma.Schema):
    id = fields.Integer()
    f_key = fields.Str()
    name = fields.Str()
    weblink = fields.Str()
    default_passcode = fields.Str()
    parent_folder = fields.Str()
    folder_path = fields.Str()
    is_del = fields.Integer()
    create_at = fields.DateTime()
